import Mock from 'mockjs'
Mock.mock('/api/user/login', {
    "status": 0,
    "data": {
        "id": 12,
        "username": "admin",
        "email": "admin@51purse.com",
        "phone": null,
        "role": 0,
        "creatTime": 14749048325000,
        "updateTime": 14749048325000,
    }
})

Mock.mock('/api/user/list', {
    "status": 0,
    "data": {
        "id|1-20": 12,
        "age": 22,
        "int|1-100": 100,//1-100随机
        "floor1|1-100.1-5": 1,//整数部分1-100，小数1-5位
        "floor2|23.1-3": 1,//整数23，小数1-3位
        "floor3|123.3": 1//整数123，小数3位
    },

})